'use strict';
var rank_desc = function(collection){
  let arr=collection.sort(
    function sorted(a,b){
      return a-b;
    }
  );
  return arr;
};

module.exports = rank_desc;
